
	function discount($field, $value) {
    	if(is_array($value)){
        	$newarray	= array();
            foreach($value as $key=>$val){
            $newarray[$key] = array_map("floatval",$val);
            }
        }
		return serialize($newarray);
	}
    